import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import "./element-variables.scss";
import 'element-ui/lib/theme-chalk/index.css';

// import YmUI from 'ym-ui';

import './style/reset.css';

import './permission' // permission control
// import * as filters from './filters' // global filters
import './mock' // simulation data

Vue.use(ElementUI);

// Vue.use(YmUI);
import Dialog from '@/components/dialog'
Vue.prototype.$dialog = Dialog;

// 阻止 vue 在启动时生成生产提示。
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

